/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package be.djdb.shop;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;

/**
* @author Lieven Roegiers
* @copyright 2013
* @from MY_SHOP
*/
@NamedQueries({
    @NamedQuery(name="Aemail.findById",query="SELECT e FROM Aemail e WHERE e.id = :id"),
})
@Entity
public class Aemail {
    @Id
    private int id ;
    private String link;
    private int type; 
    public String getLink() {
        return link;
    }
    public void setLink(String link) {
        this.link = link;
    }
    public int getType() {
        return type;
    }
    public void setType(int type) {
        this.type = type;
    }
}
